ServerEvents.recipes((event) => {
    //空白样板
    event.replaceInput(
        { output: 'ae2:blank_pattern' },
        Ingredient.of("#forge:gems/certus_quartz"), // 被替换物品
        Ingredient.of('eou:signal_core') // 替换物品
    )
    //基础卡
    event.remove({ output: "ae2:basic_card" })
    event.stonecutting("2x ae2:basic_card", 'eou:signal_core')
    //成型核心
    event.replaceInput(
        { output: "ae2:formation_core" },
        Ingredient.of("ae2:logic_processor"), // 被替换物品
        Ingredient.of('eou:signal_core') // 替换物品
    )
    //破坏核心
    event.replaceInput(
        { output: "ae2:annihilation_core" },
        Ingredient.of("ae2:logic_processor"), // 被替换物品
        Ingredient.of('eou:signal_core') // 替换物品
    )
    //1kME存储组件
    event.replaceInput(
        { output: "ae2:cell_component_1k" },
        Ingredient.of("ae2:logic_processor"), // 被替换物品
        Ingredient.of('eou:signal_core') // 替换物品
    )
    //1kME存储组件
    event.replaceInput(
        { output: "ae2:spatial_cell_component_2" },
        Ingredient.of("ae2:engineering_processor"), // 被替换物品
        Ingredient.of('eou:signal_core') // 替换物品
    )
    event.remove({ output: "ae2:item_cell_housing" })
    event.stonecutting("1x ae2:item_cell_housing", 'eou:signal_core')//ME物品元件外壳
    event.remove({ output: "ae2:fluid_cell_housing" })
    event.stonecutting("1x ae2:fluid_cell_housing", 'eou:signal_core')//ME流体元件外壳
    event.remove({ output: "ae2:vibration_chamber" })
    event.smithing("ae2:vibration_chamber", 'eou:signal_core', "minecraft:furnace")//流体阀门

    //删除非法的合成方式
    let cells = ["ae2:spatial_storage_cell_2", "ae2:spatial_storage_cell_16",
        "ae2:spatial_storage_cell_128", "ae2:fluid_storage_cell_1k",
        "ae2:fluid_storage_cell_4k", "ae2:fluid_storage_cell_16k",
        "ae2:fluid_storage_cell_64k", "ae2:fluid_storage_cell_256k",
        "ae2:item_storage_cell_1k", "ae2:item_storage_cell_4k",
        "ae2:item_storage_cell_16k", "ae2:item_storage_cell_64k",
        "ae2:item_storage_cell_256k"
    ]
    cells.forEach((cell) => {
        event.remove({ output: cell, input: "minecraft:redstone" })
    })
})